src/dli/io.d(30,1): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/dli/io.d(91,1): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/dli/io.d(171,1): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/dli/io.d(189,1): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/dli/string_stream/input_string_stream.d(19,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/dli/string_stream/input_string_stream.d(34,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/dli/string_stream/input_string_stream.d(47,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/dli/string_stream/input_string_stream.d(57,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/dli/string_stream/output_string_stream.d(14,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/dli/string_stream/output_string_stream.d(25,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/dli/string_stream/output_string_stream.d(36,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/dli/string_stream/output_string_stream.d(46,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/test/dli/mock_menu.d(30,5): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/dli/text_menu.d-mixin-52(54,21): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/dli/text_menu.d-mixin-53(55,21): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/dli/text_menu.d-mixin-54(56,21): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/dli/text_menu.d-mixin-55(57,21): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/dli/text_menu.d-mixin-56(58,21): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/dli/text_menu.d-mixin-57(59,21): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/dli/text_menu.d-mixin-58(60,21): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/demo.d(10,40): Error: cannot take address of local `username` in `@safe` function `main` src/dli/text_menu.d-mixin-52(54,21): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/dli/text_menu.d-mixin-53(55,21): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/dli/text_menu.d-mixin-54(56,21): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/dli/text_menu.d-mixin-55(57,21): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/dli/text_menu.d-mixin-56(58,21): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/dli/text_menu.d-mixin-57(59,21): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/dli/text_menu.d-mixin-58(60,21): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. src/dli/index_menu.d(52,41): Error: `@safe` function `dli.index_menu.IndexMenu!(File, File).IndexMenu.sortItemsForDisplay` cannot call `@system` function `object.keys!(MenuItem[ulong], MenuItem, ulong).keys` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../druntime/import/object.d(2453,7): `object.keys!(MenuItem[ulong], MenuItem, ulong).keys` is declared here src/dli/index_menu.d(66,16): Error: template instance `dli.index_menu.IndexMenu!(File, File)` error instantiating src/dli/io.d(35,39): Error: cannot take address of local `answer` in `@safe` function `requestConfirmation` src/dli/io.d(174,9): Error: `@safe` function `dli.io.write` cannot call `@system` function `std.stdio.makeGlobal!"core.stdc.stdio.stdout".makeGlobal` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/stdio.d(4792,20): `std.stdio.makeGlobal!"core.stdc.stdio.stdout".makeGlobal` is declared here src/dli/io.d(192,9): Error: `@safe` function `dli.io.writeln` cannot call `@system` function `std.stdio.makeGlobal!"core.stdc.stdio.stdout".makeGlobal` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/stdio.d(4792,20): `std.stdio.makeGlobal!"core.stdc.stdio.stdout".makeGlobal` is declared here src/dli/string_stream/input_string_stream.d(36,35): Error: cast from `core.sync.semaphore.Semaphore` to `shared(Semaphore)` not allowed in safe code src/dli/string_stream/input_string_stream.d(66,14): Error: cast from `shared(Semaphore)` to `core.sync.semaphore.Semaphore` not allowed in safe code src/dli/string_stream/input_string_stream.d(74,10): Error: cast from `shared(Semaphore)` to `core.sync.semaphore.Semaphore` not allowed in safe code src/dli/text_menu.d(123,44): Error: cannot take address of local `selectedItemKey` in `@safe` function `run` src/test/dli/mock_menu.d(8,25): Error: template instance `dli.text_menu.TextMenu!(shared(InputStringStream), shared(OutputStringStream), ulong)` error instantiating src/dli/text_menu.d(123,44): Error: cannot take address of local `selectedItemKey` in `@safe` function `run` src/dli/text_menu.d(160,34): Error: `@safe` function `dli.text_menu.TextMenu!(File, File, ulong).TextMenu.readln` cannot call `@system` function `std.stdio.File.readln!string.readln` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/stdio.d(1638,7): `std.stdio.File.readln!string.readln` is declared here src/dli/index_menu.d(12,55): Error: template instance `dli.text_menu.TextMenu!(File, File, ulong)` error instantiating src/dli/index_menu.d(66,16): instantiated from here: `IndexMenu!(File, File)` /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.